package com.hlkj.pay.vo.admin.req.teams;

import com.hlkj.framework.common.pojo.PageParam;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
* 团队表
* @TableName t_admin_teams
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AdminTeamsReq extends PageParam {

    /**
    * 团队编码
    */
    @Schema(description = "团队编码- 修改时候传")
    private String code;
    /**
    * 团队名称
    */
    @Schema(description = "团队名称")
    @NotEmpty(message = "团队名称必填")
    private String name;
    
    /**
     * 团队负责人
     */
    @Schema(description = "团队负责人")
    @NotNull(message = "团队负责人必填")
    private Long ownId;


}
